package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 房间管理对象 sys_build_house
 * 
 * @author ruoyi
 * @date 2021-01-28
 */
public class SysBuildHouse extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 房间id */
    private Long id;

    /** 房间标识 */
    @Excel(name = "房间标识")
    private String houseSn;

    /** 单元编号 */
    @Excel(name = "单元编号")
    private Long unitId;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setHouseSn(String houseSn)
    {
        this.houseSn = houseSn;
    }

    public String getHouseSn()
    {
        return houseSn;
    }
    public void setUnitId(Long unitId)
    {
        this.unitId = unitId;
    }

    public Long getUnitId()
    {
        return unitId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("houseSn", getHouseSn())
            .append("unitId", getUnitId())
            .toString();
    }
}
